package com.app.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_system_category")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SystemModel {
    private int id;
    @JsonIgnore
    private int pid;
    private String name;
    @TableField(exist = false)
    private Integer redSum;
    @TableField(exist = false)
    private Integer blueSum;
    @TableField(exist = false)
    private Integer yellowSum;
    @TableField(exist = false)
    private Integer value;
    @TableField(exist = false)
    private List<StatusModel> statusList;
    @TableField(exist = false)
    private DutiesModel list;

}
